package transactionimplementation

import (
	abstracttransaction "salarypayment-case/AbstractTransaction"
	"salarypayment-case/Model"
	"salarypayment-case/modelimplementation"
)


type AddHourlyEmployee struct {
	abstracttransaction.AddEmployeeTransaction
	itsHourlyRate float64
}

func (ae *AddHourlyEmployee) GetClassification() Model.PaymentClassification {
	return modelimplementation.CreateHourlyClassification(ae.itsHourlyRate)
}

func (ae *AddHourlyEmployee) GetSchedule() Model.PaymentSchedule {
	return &modelimplementation.WeeklySchedule{}
}